package ${package}.${moduleName}.service;

import ${package}.${moduleName}.query.${ClassName}Query;
import ${package}.${moduleName}.entity.${ClassName};
import com.baomidou.mybatisplus.extension.service.IService;
import com.source.common.page.PageOutput;

import java.util.List;

/**
 * ${tableComment}
 *
 * @author ${author} ${email}
 * @since ${version} ${date}
 */
public interface ${ClassName}Service extends IService<${ClassName}> {

    /**
    * 获取所有数据列表，并分页
    *
    * @param query 查询对象
    * @return ResponsePage<${ClassName}>
    */
    PageOutput<${ClassName}> get${ClassName}AndPage(${ClassName}Query query);

    /**
    * 获取所有数据列表，不分页
    *
    * @param query 查询对象
    * @return List<${ClassName}>
     */
    List<${ClassName}> get${ClassName}s(${ClassName}Query query);

}